#version 420

// Ouput data
layout(location = 0) out float fragmentdepth;
 
void main()
{
    fragmentdepth = gl_FragCoord.z;
}